﻿@model List<ServeNHL.Models.eventViewModel>
@{
    //need for each loop and stuff
    ViewBag.Title = "Your Events";
    Layout = "~/Views/Shared/_Layout.cshtml";
}



<div class="row">
    <div class="spacer7"></div>
    <div class="header col-lg-12 col-md-12 col-sm-12 col-xs-12 ">

        <div class="signupLogo">Manage Your Events</div>
    </div>
</div>

<div class="spacer13"></div>



@foreach (var eventItem in Model)
{

    var eventID = eventItem.eventItem.EVENT_ID;


    <div class="row">
        <div class="col-lg-2 col-md-2 col-sm-2 col-xs-2"> </div>
        <div class="EventTitle col-lg-3 col-md-3 col-sm-3 col-xs-3">@Html.Raw(eventItem.eventItem.NAME)</div>
        <div class="EventTime col-lg-3 col-md-3 col-sm-3 col-xs-3">@Html.Raw(eventItem.eventItem.START_DATE)</div>

        <div class="col-lg-3 col-md-3 col-sm-3 col-xs-3">
            @Html.ActionLink("Remove Signup", "DeleteSignup", new { id = eventID }, new { @class = "eventsignuplink" })
        </div>
        <div class="col-lg-1 col-md-1 col-sm-1 col-xs-1"> </div>
    </div>
    <div class="spacer2"></div>

    <div class="row">
        <div class="col-lg-2 col-md-2 col-sm-2 col-xs-2"> </div>

       
        <div class="col-lg-3 col-md-3 col-sm-3 col-xs-3">Event Category: @Html.Raw(eventItem.eventCat.EVENT_CAT_NAME) </div>
        <div class="col-lg-3 col-md-3 col-sm-3 col-xs-3">When: @Html.Raw(eventItem.eventItem.START_DATE)</div>
        <div class="col-lg-3 col-md-3 col-sm-3 col-xs-3">To: @Html.Raw(eventItem.eventItem.END_DATE)</div>
        <div class="col-lg-1 col-md-1 col-sm-1 col-xs-1"> </div>
    </div>
    <div class="spacer7"></div>


}


